package com.gjy.stream;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @author 宫静雨
 * @version 1.0
 * @since 2023-03-28 15:00:18
 */
@Data
@AllArgsConstructor
public class Dish {

    private final String name;
    private final boolean vegetarian;
    private final int calories;
    private final Type type;

    public enum Type {MEAT, FISH, OTHER}
}
